#ifndef NAME_MENU
#define NAME_MENU

//includes
#include <gtkmm/drawingarea.h>
#include <gdk/gdkkeysyms.h>
#include <cairomm/context.h>
#include <vector>
#include <string>

//defines
#define LEFT_BORDER 20
#define RIGHT_BORDER 20
#define TOP_BORDER 20
#define BOTTOM_BORDER 20

//namespace
using namespace std;

//class prototypes----------------------
class nameMenu;

//nameMenu-------------------------------
class nameMenu : public Gtk::DrawingArea{
	public:
		nameMenu(string** chce = NULL);
		~nameMenu();
		void addNames(string str);

		void draw();
		void keypress(GdkEventKey* event);
	protected:
		virtual bool on_key_press_event(GdkEventKey* event);
		virtual bool on_expose_event(GdkEventExpose *event);
	private:
		void buttonPress(GdkEventKey* e);
		
		int choice;
		int offset;
		vector<string*> names;
};
#endif
